package fun.asgc.boot.netty.web.config;

import fun.asgc.boot.netty.web.interceptor.ExceptionHandlerRegistry;
import fun.asgc.boot.netty.web.interceptor.InterceptorRegistry;
import fun.asgc.boot.netty.web.interceptor.RestControllerAdviceHandler;

/**
 *
 * @author: aoshiguchen
 * @date: 2022/7/27
 */
public interface WebMvcConfigurer {

	default void addInterceptors(InterceptorRegistry registry) {

	}

	default void addExceptionHandler(ExceptionHandlerRegistry registry) {

	}

	default RestControllerAdviceHandler adviceHandler() {
		return null;
	}
}
